﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProjectCommonLibs.utils
{
    public class LogUtils
    {
        public static bool logFileName(string fileName, string[] message)
        {
            try
            {
                File.AppendAllLines(fileName,message);
                return true;
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
                Console.WriteLine(ex.StackTrace);
                return false;
            }
        }
    }
}
